package com.mxf.code.controller;

import com.code.fegin.ProviderClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author : [mxf]
 * @version : [v1.0]
 * @className : ConsumerController
 * @description : [描述说明该类的功能]
 * @createTime : [2022/9/16 15:44]
 * @updateUser : [mxf]
 * @updateTime : [2022/9/16 15:44]
 * @updateRemark : [描述说明本次修改内容]
 */
@RestController
public class ConsumerController {

    @Resource
    private ProviderClient providerClient;

    @GetMapping("/hi")
    public String test(){
        return providerClient.hi();
    }
}
